export let columns = [
  {
    title: '序号',
    dataIndex: 'index',
    ellipsis: true,
    scopedSlots: {
      // filterDropdown: 'searchDropdown',
      // filterIcon: 'searchIcon',
      customRender: 'index',
    },
  },
  {
    title: '表单名称',
    dataIndex: 'fromName',
    ellipsis: true,
    scopedSlots: {
      customRender: 'nonconformityCode',
    },
  },
  {
    title: '规则内容',
    dataIndex: 'codePrefix',
    ellipsis: true,
    searchIndex: 'codePrefix',
    options: [],
    scopedSlots: {
      customRender: 'codePrefix',
    },
  },
]
export let allColumn = [
  {
    title: '序号',
    dataIndex: 'index',
    ellipsis: true,
    scopedSlots: {
      customRender: 'index',
    },
  },
  {
    title: '表单名称',
    dataIndex: 'fromName',
    ellipsis: true,
    scopedSlots: {},
  },
  {
    title: '规则内容',
    dataIndex: 'codePrefix',
    ellipsis: true,
    searchIndex: 'codePrefix',
    scopedSlots: {
      customRender: 'codePrefix',
    },
  },
]
